//
//  MySQLGlobals.h
//  LibMySQL
//
//  Created by Marcus Grenängen on 2009-07-16.
//  Copyright 2009 SneWs Soft. All rights reserved.

#import <Cocoa/Cocoa.h>

// Holds the default path for where to put/read the local socket
// Leopard and newer seems to want it in this location
#ifndef MySQLConnection_ClientSocketDefaultPath
	#define MySQLConnection_ClientSocketDefaultPath				MYSQL_UNIX_ADDR
#endif

#define MySQLConnection_DefaultEncoding							NSUTF8StringEncoding
#define MySQLConnection_DefaultCharset							@"utf8"



// MySQLConnection key/value defines. Theese are used in connectionWithDictionary
// to extract the connection properties for ex.
#define kMySQLConnectionServer					@"Server"
#define kMySQLConnectionPort					@"Port"
#define kMySQLConnectionUser					@"Uid"
#define kMySQLConnectionPassword				@"Pwd"
#define kMySQLConnectionDatabase				@"Database"
#define kMySQLConnectionCharset					@"Charset"